<!--
        *前台会员中心订单详情
        * 
        *
        * @author     yuanxi
        * @version    2018-03-01 17:28   
-->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <title>商品评价</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="/public/static/homes/css/iconfont/iconfont.css" rel="stylesheet"/>
    <link href="/public/static/homes/css/common.css" rel="stylesheet"/>
    <link href="/public/static/homes/css/uc.css" rel="stylesheet"/>
</head>
<body>
    <!--头部-->
    {:widget("Cate/header")}
    

        <div class="wrapper uc-router">
        <ul>
            <li><a href="/homeindex/index">首页</a></li>
            <li><span class="divider"></span></li>
            <li><span><a href="/myuser/myuser">会员中心</a></span></li>
            <li><span class="divider"></span></li>
            <li><span><a href="javascript:void(0)">商品评价</a></span></li>
        </ul>
    </div>

    <div class="wrapper">
        <div class="uc-main clearfix">
            {:widget("Cate/left")}
            <div class="uc-content">
                <div class="uc-panel">
                    <div class="uc-bigtit">商品评价</div>
                    <div class="uc-panel-bd">
                <form action="/evaluat/insert" method="post">
                        <div class="order-detail">
                            <div class="od-pdt">
                                {foreach name="data" item="rows"}
                                <div class="item">
                                    <img src="{$rows.pic}" class="figure" />
                                    <div class="pname">{$rows.goodsname}</div>
                                    <div class="price">{$rows.price}元×{$rows.gnum}</div>
                                    {if condition="($rows.status eq 1)"}
                                    <div class="price" style="float:right"><a href="/evaluat/addevaluat/id/{$rows.id}" class="ui-btn-theme uc-btn-md">去评价</a></div>
                                    {elseif condition="($rows.status eq 2)"/}
                                    <div class="price" style="float:right"><a href="/evaluat/seeevaluat/id/{$rows.id}" class="ui-btn-low uc-btn-md">查看评价</a></div>
                                    {else/}
                                        &nbsp;
                                    {/if}
                                </div>
                                <div class="panel-bd">
                                <div class="control-group">
                                <input type="hidden" name="id{$rows.id}" value="{$rows.id}">
                                    <div class="hd">满意度：</div>
                                    <div class="bd">
                                        <label class="check"><input type="radio" name="satisfact{$rows.id}" value="0" />差评</label>
                                        <label class="check ml25"><input type="radio" name="satisfact{$rows.id}" checked value="1" />好评</label>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="hd vat">评价心得：</div>
                                    <div class="bd"><textarea name="content{$rows.id}" id=""  class="ui-txtin" require style="width:560px;height:90px;" placeholder="好评"></textarea><span class="vab dib ml10"></span></div>
                                </div>
                                
                            </div>
                                {/foreach}
                            </div>
                            
                           <div class="submit-group">
                                    <input class="ui-btn-theme uc-btn-lg" type="submit" value="提交评价" />
                           </div>
                            
                        </div>
                    </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

{:widget("Cate/footer")}